package cn.edu.sgu.www.mhxysy.mapper.xingyin;

import cn.edu.sgu.www.mhxysy.entity.xingyin.XingyinViewAttribute;
import cn.edu.sgu.www.mhxysy.vo.xingyin.XingyinViewAttributeVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Repository
public interface XingyinViewAttributeMapper extends BaseMapper<XingyinViewAttribute> {

    /**
     * 查询星印的预览属性
     * @param hashMap 查询条件
     * @return XingyinViewAttributeVO
     */
    XingyinViewAttributeVO selectAttribute(Map<String, Object> hashMap);

    /**
     * 查询星印的预览属性列表
     * @param xingyinId 星印类型ID
     * @return List<XingyinViewAttributeVO>
     */
    List<XingyinViewAttributeVO> selectByXingyinId(@Param("xingyinId") Integer xingyinId);
}